import {getCurrentUser} from "@/utils/authority.ts";
import configJintan from "@/config/config.jintan.tsx";
import configJiaxian from "@/config/config.jiaxian.tsx";
import configGuangXi from "@/config/config.guangxi.tsx";
import configHunan from "@/config/config.hunan.tsx";
import {ApplicationConfigMap} from "@/config/interface";

/**
 * 项目applicationId: 配置
 */
const Apps: ApplicationConfigMap = {
    ...configJintan,
    ...configJiaxian,
    ...configGuangXi,
    ...configHunan,
}

export default Apps[getCurrentUser()?.applicationId]
// export default configJintan